Determine the Perimeter and Area of an Irregular Polygon